package love.bot.forli.group.review.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author Kontori
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(description = "测试题目列表实体类")
public class TestList {

    @ApiModelProperty(value = "测试列表ID")
    @TableId(value = "test_list_id",type = IdType.AUTO)
    private Integer testListId;

    @ApiModelProperty(value = "对应测试ID")
    private Integer testId;

    @ApiModelProperty(value = "题目ID")
    private Integer questionId;

    @ApiModelProperty(value = "用户答案")
    private String userAnswer;

    @ApiModelProperty(value = "分数")
    private Integer score;

}
